/*******************************************
 * Copyright 2007 Aphrodite Framework for javaME .
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * Email : owner@aphroditeme.dev.java.net
 * Contributors:
 *     Kent Elton - initial API and implementation
 *******************************************/

package com.aphrodite.io.soap;

import java.io.InputStream;

public interface SoapHandler {
	/**
	 * Provide error handling
	 * 
	 * @param error
	 */
	public void handleError(String error);

	/**
	 * Provide handling of server response
	 * 
	 * @param is
	 */
	public void handleResponse(InputStream is);
}
